package com.cards_game.simple_ddz.service.impl;

import org.springframework.stereotype.Service;

import com.cards_game.simple_ddz.bean.UserBean;
import com.cards_game.simple_ddz.service.LoginService;
import com.cards_game.simple_ddz.temp.TempDataAnalog;

/**
 * @author 郭国辉
 * 
 *     2017年6月25日上午12:06:40
 */
@Service
public class LoginServiceimpl implements LoginService {
	
	@Override
	public UserBean login(String userNum,String password) {
		TempDataAnalog.addPlayers();
		return TempDataAnalog.userMap.get(Integer.parseInt(userNum));
	}
}
